package com.example.demo.test.l1;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;

/**
 * @description:
 * @author: hhl
 * @createDate: 2023/12/1
 * @version: 1.0
 */
public class Client {
    public static void main(String[] args) throws IOException {
        SocketChannel channel = SocketChannel.open();
        channel.connect(new InetSocketAddress("localhost",8080));
        System.out.println("waiting....");
    }
}
